package com.dullfox.sbm.common.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * 通用复选框树的数据模型
 */
public class TreeModelCheck {

	private String id;
	private String text;// 名称
	private boolean checked;
	private String iconCls;// 图标
	private String linkUrl;// 链接地址
	private List<TreeModelCheck> children;

	public TreeModelCheck() {
		this.children = new ArrayList<TreeModelCheck>();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public boolean getChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public String getLinkUrl() {
		return linkUrl;
	}

	public void setLinkUrl(String linkUrl) {
		this.linkUrl = linkUrl;
	}

	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

	public List<TreeModelCheck> getChildren() {
		return children;
	}

	public void setChildren(List<TreeModelCheck> children) {
		this.children = children;
	}
	
}

